package com.hxzy.service.impl;

import com.hxzy.entity.EnterpriseProcess;
import com.hxzy.mapper.EnterpriseProcessMapper;
import com.hxzy.service.EnterpriseProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/4/19 16:24
 * @Version 1.0
 */
@Service
public class EnterpriseProcessServiceImpl extends ServiceImpl<EnterpriseProcess,Long> implements EnterpriseProcessService {
    private EnterpriseProcessMapper  enterpriseProcessMapper;

    @Autowired
    public void setEnterpriseProcessMapper(EnterpriseProcessMapper enterpriseProcessMapper) {
        this.enterpriseProcessMapper = enterpriseProcessMapper;
        super.setMyBatisBaseDao(enterpriseProcessMapper);
    }

    @Override
    public List<EnterpriseProcess> selectBytenantId(BigDecimal tenantId) {
        return this.enterpriseProcessMapper.selectBytenantId(tenantId);
    }
}
